package com.domcer.ultra.menu.engine.action;

import org.bukkit.Sound;
import org.bukkit.entity.Player;

/**
 * @author Sensen
 * @Date 2025/1/31 12:53
 */
public class SoundAction implements Action {

    @Override
    public void execute(Player player, String content) {
        player.playSound(player.getLocation(), Sound.valueOf(content.toUpperCase()), 1f, 1f);
    }
}
